<%@ page import="com.ciquan.server.util.web.BasePathUtil" %>
<%--
  Created by IntelliJ IDEA.
  User: kakalee
  Date: 15/1/24
  Time: 14:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<jsp:include page="header.jsp"></jsp:include>
<div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
    <form role="form" action="/userRecommend/saveAdd" method="post">
        <div class="panel panel-primary">
            <div class="panel-heading">新建推荐</div>
            <div class="panel-body">
                <div class="form-group">
                    <label>商家</label>
                    <select class="form-control user-form-control" name="userId" required="required">
                        <c:forEach items="${userInfos}" var="userInfo">
                            <option value="${userInfo.userid}">${userInfo.name}</option>
                        </c:forEach>
                    </select>
                </div>

                <div class="form-group">
                    <button class="btn btn-primary user-form-control" type="submit">添加</button>
                </div>
            </div>
        </div>
    </form>
</div>

</div>
</body>
</html>
